home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13220 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: EU.net!sun4nl!xs4all!falstaff
  2. From: falstaff@xs4all.nl (Falstaff)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help with a very weird C problem
  5. Date: 5 Apr 1996 06:41:27 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4k2fan$cip@news.xs4all.nl>
  8. References: <31620c87.184254741@199.171.83.2>
  9. NNTP-Posting-Host: xs1.xs4all.nl
  10. X-Newsreader: NN version 6.5.0 #666 (NOV)
  11.  
  12. marty1@rbdc.rbdc.com (Jumping Jack Flash) writes:
  13.  
  14. >Ok here's the problem. This program works great. BUT when I'm in the
  15. >c:\windows\desktop\programs directory instead of running the pkunzip
  16. >program it just shells a command.com, then after I type exit it
  17. >displays the ending screen. Here's the code
  18.  
  19. >pkunzip_search = searchpath("pkunzip.exe");
  20.  
  21. Hmmm, not a C standard library function...
  22.  
  23. >    cout << "PKUNZIP.EXE must be in your dos path!";
  24.  
  25. Hmmm, not a valid C statement...
  26.  
  27. >    fnsplit(ffblk.ff_name,drive,dir,file,ext);
  28. >    clrscr();
  29. >    done = findfirst("*.zip",&ffblk,0);
  30.  
  31. Hmmm, more functions not in the C standard library...
  32.  
  33. Sure you got the right group?  This seems to have nothing to do
  34. with the C language.
  35.  
  36. Frank
  37. --
  38. The famous GIICM now on line:  http://www.xs4all.nl/~falstaff/GIICM.html
  39. ------------------------------------------------------------------------
  40. Frank A. Vorstenbosch        +31-(70)-355 5241        falstaff@xs4all.nl
  41.